<template>
    <view>
        <button class="button" type="primary" @click="back()">返回</button>
        <text class="iconfont icon-dingwei"></text>
        <text class="font1">测试字体ceshiziti123456</text>
        <text class="font2">测试字体ceshiziti123456</text>
    </view>
</template>
<script setup>
import { ref } from 'vue';
import { onShow, onReady } from '@dcloudio/uni-app';
import { back, useRoute } from '@/router';
import store from '@/store';

const props = defineProps({
    id: String,
    age: Number,
    user: Object
});

onReady(options => {
    //console.log('onReady...', props.id);
    //console.log('onReady...', options);
    // console.log(useRoute().params)
});
onShow(options => {
    // console.log('onShow...', props.id);
});
</script>
<style lang="scss" scoped>
.icon-dingwei {
    font-size: 24px;
    color: green;
}
</style>
